WPDiscourse\Test\DiscourseCommentTest S

Total Complexity 12
Dependencies 2
Dependents 0
Total lines 224
Lines of code 135
Logical lines of code 108
Comment lines 47
Methods 6
Properties 1

Methods 6

Method Rating Maintainability Complexity Lines of code
test_get_comment_type_for_post_display_public_comments_only_when_connection_fails()
S
46 4 40
test_get_comment_type_for_post_display_public_comments_only()
S
47 4 37
test_sync_comments_handle_error_response()
S
53 1 22
test_sync_comments()
S
57 1 15
test_comments_disabled()
S
60 1 13
setUp()
S
67 1 8